package com.jrx.anytxn.param.dto.investor;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 表：出资方利率表 请求参数
 *
 * @author 黄秋平
 * @date 2020-05-17 22:06
 **/
@ApiModel(description = "出资方利率表PrInvestorInterestRateReq")
public class PrInvestorInterestRateReq implements Serializable {

    private static final long serialVersionUID = 4343725116509923487L;
    /**
     * 主键
     * 表字段:id
     */
    @ApiModelProperty(value = "主键", name = "id")
    private Long id;

    /**
     * 租戶id
     * 表字段:tenant_id
     */
    @ApiModelProperty(value = "租戶id", name = "tenantId")
    private String tenantId;

    /**
     * 利息表id	唯一索引
     * 表字段:investor_interest_id
     */
    @ApiModelProperty(value = "利息表id", name = "investorInterestId")
    private String investorInterestId;

    /**
     * 利息表机构号 唯一索引
     * 表字段:organization_id
     */
    @ApiModelProperty(value = "利息表机构号", name = "organizationId")
    private String organizationId;

    /**
     * 中文名称
     * 表字段:chinese_name
     */
    @ApiModelProperty(value = "中文名称", name = "chineseName")
    private String chineseName;

    /**
     * 英文名称
     * 表字段:english_name
     */
    @ApiModelProperty(value = "英文名称", name = "englishName")
    private String englishName;

    /**
     * 状态	1 = 正常0 = 失效
     * 表字段:table_status
     */
    @ApiModelProperty(value = "状态1 = 正常0 = 失效", name = "status")
    private String tableStatus;

    /**
     * 基准利率
     * 表字段:base_rate
     */
    @ApiModelProperty(value = "基准利率", name = "baseRate")
    private BigDecimal baseRate;

    /**
     * 基准利率浮动百分比
     * 表字段:base_rate_percent
     */
    @ApiModelProperty(value = "基准利率浮动百分比", name = "baseRatePercent")
    private BigDecimal baseRatePercent;

    /**
     * 计息基础	0 = 剩余本金1 = 贷款本金
     * 表字段:accrual_basic
     */
    @ApiModelProperty(value = "计息基础0 = 剩余本金1 = 贷款本金", name = "accrualBasic")
    private String accrualBasic;

    /**
     * 利率种类	0 = 日利率 1 = 年利率 2 = 月利率 3 = 季利率4 = 半年利率
     * 表字段:rate_type
     */
    @ApiModelProperty(value = "利率种类0 = 日利率 1 = 年利率 2 = 月利率 3 = 季利率4 = 半年利率", name = "rateType")
    private String rateType;

    /**
     * 利率变化类型	0 = 固定1 = 浮动2 = 阶段
     * 表字段:interest_change_type
     */
    @ApiModelProperty(value = "利率变化类型0 = 固定1 = 浮动2 = 阶段", name = "interestChangeType")
    private String interestChangeType;

    /**
     * 年利率基准因子	0 = 365 1 = 365，in leap year = 366 2 = 360
     * 表字段:year_base
     */
    @ApiModelProperty(value = "年利率基准因子0 = 365 1 = 365，in leap year = 366 2 = 360", name = "yearBase")
    private String yearBase;

    /**
     * 月利率基准因子	0 = 每月按30计算 1 = 每月按实际天数计算
     * 表字段:month_base
     */
    @ApiModelProperty(value = "月利率基准因子0 = 每月按30计算 1 = 每月按实际天数计算", name = "monthBase")
    private String monthBase;

    /**
     * 起息日选项0 = 交易生效日起息1 = 交易入账日起息
     * 表字段:start_date_flag
     */
    @ApiModelProperty(value = "起息日选项0 = 交易生效日起息1 = 交易入账日起息", name = "startDateFlag")
    private String startDateFlag;

    /**
     * 价税分离开关 0-开启 1-关闭
     * 表字段:tax_flag
     */
    @ApiModelProperty(value = "价税分离开关 0-开启 1-关闭", name = "taxFlag")
    private String taxFlag;

    /**
     * 税率
     * 表字段:tax_rate
     */
    @ApiModelProperty(value = "税率", name = "taxRate")
    private BigDecimal taxRate;

    /**
     * 最后更新操作员
     * 表字段:update_by
     */
    private String updateBy;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getInvestorInterestId() {
        return investorInterestId;
    }

    public void setInvestorInterestId(String investorInterestId) {
        this.investorInterestId = investorInterestId;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getChineseName() {
        return chineseName;
    }

    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public String getTableStatus() {
        return tableStatus;
    }

    public String getStartDateFlag() {
        return startDateFlag;
    }

    public void setStartDateFlag(String startDateFlag) {
        this.startDateFlag = startDateFlag;
    }

    public void setTableStatus(String tableStatus) {
        this.tableStatus = tableStatus;
    }

    public BigDecimal getBaseRate() {
        return baseRate;
    }

    public void setBaseRate(BigDecimal baseRate) {
        this.baseRate = baseRate;
    }

    public BigDecimal getBaseRatePercent() {
        return baseRatePercent;
    }

    public void setBaseRatePercent(BigDecimal baseRatePercent) {
        this.baseRatePercent = baseRatePercent;
    }

    public String getAccrualBasic() {
        return accrualBasic;
    }

    public void setAccrualBasic(String accrualBasic) {
        this.accrualBasic = accrualBasic;
    }

    public String getRateType() {
        return rateType;
    }

    public void setRateType(String rateType) {
        this.rateType = rateType;
    }

    public String getInterestChangeType() {
        return interestChangeType;
    }

    public void setInterestChangeType(String interestChangeType) {
        this.interestChangeType = interestChangeType;
    }

    public String getYearBase() {
        return yearBase;
    }

    public void setYearBase(String yearBase) {
        this.yearBase = yearBase;
    }

    public String getMonthBase() {
        return monthBase;
    }

    public void setMonthBase(String monthBase) {
        this.monthBase = monthBase;
    }

    public String getTaxFlag() {
        return taxFlag;
    }

    public void setTaxFlag(String taxFlag) {
        this.taxFlag = taxFlag;
    }

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
}
